package com.example.springboot_es.service;

import com.example.springboot_es.data.TestBean;
import java.util.ArrayList;
import java.util.List;

public interface TestService {
    Iterable<TestBean> findAll();

    void saveDefault(List<TestBean> list);

    void save(TestBean bean);

    List<TestBean> findByName(String text);

    List<TestBean> findByNameOrDesc(String name, String desc);
}
